<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Result</title>
<script src="https://cdn.bootcss.com/prettify/r298/prettify.min.js"></script>
<link href="https://cdn.bootcss.com/prettify/r298/prettify.min.css" rel="stylesheet">
<link href="../style.css" rel="stylesheet" />
</head>
<body onload="PR.prettyPrint()">
<pre class="prettyprint lang-java">
public class Result implements Serializable{

    private boolean success; //是否成功
    private String msg; //消息
    private Object obj; //返回值

    @JSONField(name="success")
    public boolean getSuccess(){
        return success;
    }

    @JSONField(name="success")
    public void setSuccess(boolean success){
        this.success = success;
    }

    @JSONField(name="msg")
    public String getMsg(){
        return msg;
    }

    @JSONField(name="msg")
    public void setMsg(String msg){
        this.msg = msg;
    }

    @JSONField(name="obj")
    public Object getObj(){
        return obj;
    }

    @JSONField(name="obj")
    public void setObj(Object obj){
        this.obj = obj;
    }

}
</pre>




</body>
</html>